<!-- content -->
<div id="content">
	<h2><%= @user.login %>相关</h2>
    <!-- mainContent -->
	<div id="mainContent">
    	<h3><%= @user.login %>的点评</h3>
        <% if flash[:notice] %>
          <div class="success"><%= flash[:notice] %></div>
        <% end %>
        <div id="mostComments" class="clear">
        	<ul>
                <% for comment in @comments %>
            	<li>
                	<dl>
<%
if comment.commentable_type == "cn_leechdoms"
  leechdom = CnLeechdom.find(:first, :conditions => ["id = ?", comment.leechdom_id])
%>
                    	<dt><a href="/cn_leechdoms/<%= comment.leechdom_id %>"><%= leechdom.cpmc %></a></dt>
                    	<dd>【适应病症】</dd>
                    	<dd>【我的评论】<%= comment.comment %>。</dd>
<% end %>
<%
if comment.commentable_type == "inter_leechdoms"
  leechdom = InterLeechdom.find(:first, :conditions => ["id = ?", comment.leechdom_id])
%>
                    	<dt><a href="/inter_leechdoms/<%= comment.leechdom_id %>"><%= leechdom.cpmczw %></a></dt>
                    	<dd>【适应病症】</dd>
                    	<dd>【我的评论】<%= comment.comment %>。</dd>
<% end %>
                    </dl>
                </li>
                <% end %>
            </ul>
        </div>
        <%= will_paginate @comments %>
    </div>
    <!-- sideContent -->
	<div id="sideContent">
        <div id="myInfo">
        	<dl>
            	<dt><img src="/images/face.jpg" alt="" /></dt>
            	<dd>共发布点评 <%= @comments.size %> 条。</dd>
            </dl>
        </div>
    </div>
</div>